<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<style type="text/css">
			/* YOU CAN ADD EVERY CSS STYLES HERE !!!! 
            * I WILL WRAP ALL THIS UP TO ONE CSS FILE LATER
            */
			#itemListBox{border-style:solid; border-color:#5db2e9; width:300px; height:300px; font-size:12pt;}
		</style>
</head>
<body>
<%@ page import="controllers.Accessdb" %>
<%
	Accessdb idc = new Accessdb();
	ArrayList<String[]> itemList = idc.getListOfItemName(); 

%>


	<select name="list1" >

	<option name= "list1" value="dddd">Select...</option>	

<%	for(int i =0; i< itemList.size(); i++)
		for(int j=0; j< itemList.get(i).length; j++)
		{
			
			out.println("<option value= " + itemList.get(i)[j] + ">" + itemList.get(i)[j] +"</option>");
  
			
  } %>  
    

	</select>
	</form>
	
	

</body>
</html>